package com.ruijie.camerax.media;

import android.graphics.ImageFormat;

/**
 * author: luqihua
 * date:2019-11-13
 * description:
 **/
public class YUV420Frame {
    public byte[] yuvBytes;
    public long timestamp;

    public YUV420Frame(int width, int height) {
        this.yuvBytes = new byte[width * height * ImageFormat.getBitsPerPixel(ImageFormat.YUV_420_888) / 8];
    }
}
